package cn.zhibang.sannuo.user_detection.service.impl;

import cn.zhibang.sannuo.commons.model.Cudetails;
import cn.zhibang.sannuo.user_detection.dao.UCudetailsDao;
import cn.zhibang.sannuo.user_detection.service.UCudetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UCudetailsServiceImpl implements UCudetailsService {

    @Autowired
    private UCudetailsDao uCudetailsDao;

    @Override
    public List<Cudetails> getCudetailsByid(String cuids) {
        return uCudetailsDao.getCudetailsByid(cuids);
    }

    @Override
    public List<Cudetails> getCudetailsByName(String cudnumber) {
        return uCudetailsDao.getCudetailsByName(cudnumber);
    }
}
